<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>test</title>
</head>

<body>
  <div class="test" style="color: red;padding-bottom: 50px;">123</div>
  <div class="logRegBackground">dfasf</div>
  <script>
    function test() {
      console.log('123456')
    }

    setTimeout(() => {
      test()
    }, 1000)
  </script>
</body>

</html>